package cn.yto.wdgj.wdgjgptdigitaltool.mapper.po;

import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
import java.util.Date;

@Data
@Table(name = "gpt_case_result")
public class GptCaseResult implements Serializable {
    @Id
    @Column(name = "id")
    private Long id; // 使用Long类型以支持自增ID
    @Column(name = "'测试批次'")
    private String batchId;
    @Column(name = "'会话id'")
    private String sessionId;
    @Column(name = "'消息id'")
    private String messageId;
    @Column(name = "'意图名称'")
    private String intentName;
    @Column(name = "'tag'")
    private String tag;
    @Column(name = "'测试用例'")
    private String caseContent; // 使用String类型代替text类型
    @Column(name = "'响应内容'")
    private String responseText; // 使用String类型代替text类型
    @Column(name = "'匹配内容'")
    private String matcherContent; // ^([A-Z0-9]+)此件(.*?)在【(.*?)】进行【(.*?)】$
    @Column(name = "'匹配结果'")
    private Boolean result; // true：匹配成功；false：匹配失败
    @Column(name = "'接口请求时间'")
    private Date requestTime;
    @Column(name = "'接口响应时间'")
    private Date responseTime;
}
